<?php
namespace Home\Controller;

/**
 * 网站底部页面
 */

class KwController extends HomeController {



	/* 底部页面 */

	public function about(){

	$this->display();	

	}



	public function contactUs(){

		$this->display();

	}
	public function pf(){

		$this->display();

	}
	public function smd(){

		$this->display();

	}
	public function keju(){

		$this->display();

	}

	public function help(){

		$this->display();

	}

	//关于共享搜索 关于我们
	public function sun(){
		$User = M("Users"); // 实例化User对象获取用户数：

        $userCount = $User->count();
        $userCountvip = $User->where('vip>0')->count();

    	$cate = M("cate"); // 实例化User对象获取用户数：
        $cateCount = $cate->count();
        $cateCountsheng = $cate->where('is_grail=1')->count();

        $slink = M("slink"); // 实例化User对象获取用户数：
        $slinkCount = $slink->count();



        // $map = array('session_expire'=>array('gt',NOW_TIME));
        // $inline = D('Session')->where($map)->count();



		$this->assign('userCount',$userCount);
		$this->assign('slinkCount',$slinkCount);
		$this->assign('userCountvip',$userCountvip);
		$this->assign('cateCount',$cateCount);
		$this->assign('cateCountsheng',$cateCountsheng);
		$this->assign('inline',$inline);


		$this->display();

	}
		public function jqr(){

		$this->display();

	}
		public function city(){

		$this->display();

	}
		public function country(){

		$this->display();

	}
		public function join(){

		$this->display();

	}
		public function recruit(){

		$this->display();

	}
		public function rich(){
		//主页显示用户信息列表
        $user_list = D("Users")->userLists();
   
        $this->assign('user_list',$user_list);

        /*start*/
        $user_id = session('uid');
       	$user_info = M("users")->where(array('userid'=>$user_id))->find();
       	$this->assign('user_info',$user_info);
        /*end*/



		$this->display();

	}
		public function house(){

		$this->display();

	}
	public function lo(){

		$this->display();

	}
		public function gu(){

		$this->display();

	}
		public function cityfun(){

		$this->display();

	}

		public function tt(){

		$this->display();

	}
		public function ddd(){

		$this->display();

	}
		public function wj(){

		$this->display();

	}



	




}





